package edu.java.texbooks.scjp.threads.test09;

public final class MyThread extends Thread {

	public MyThread() {
	}

	public MyThread(String nameThread) {
		super(nameThread);
	}

	@Override
	public void run() {
		System.out.println("Hello from run() method of "
				+ Thread.currentThread().getName());
	}

	@Override
	public void start() {
		super.start();
		System.out.println("Execute start() method of " + this.getName());
	}

}
